﻿using KBEngine;

namespace Pumpkin.FrameBase.KBEPlugins
{
    public class KBEngineModule : FrameModuleBase
    {
        public override string GetName()
        {
            return "KBEngineModule";
        }

        public override void Init()
        {
            var globalObject = GlobalConfigs.Instance.GetGlobalObject();
            var kbeMain = globalObject.AddComponent<KBEMain>();
            kbeMain.SetModule(this);
        }
    }
}
